ElasticPress\Feature\Facets\Facets B

Total Complexity 88
Dependencies 5
Dependents 1
Total lines 715
Lines of code 340
Logical lines of code 185
Comment lines 273
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
get_aggs()
A
50 14 27
is_facetable()
A
51 12 26
build_query_url()
A
50 9 26
get_selected()
S
52 7 24
__construct()
S
47 5 36
output_feature_box_long()
S
55 5 20
is_facetable_page()
S
77 6 3
facet_query()
S
55 4 21
setup()
S
54 4 19
apply_facets_filters()
S
58 4 16
set_agg_filters()
S
56 3 16
get_allowed_query_args()
S
61 3 11
set_settings_schema()
S
58 1 17
front_scripts()
S
59 1 16
output_feature_box_settings()
S
61 1 13
tear_down()
S
62 1 11
remove_facets_filter()
S
76 1 4
get_match_type()
S
75 1 4
register_widgets()
S
79 1 3
get_facetable_taxonomies()
S
75 1 4
get_filter_name()
S
75 1 4
hide_legacy_widget()
S
77 1 4
admin_scripts()
S
70 1 7
setup_endpoints()
S
67 1 8